/* 标准色 */
$color-red: #e54d42;
$color-orange: #f37b1d;
$color-yellow: #fbbd08;
$color-olive: #8dc63f;
$color-green: #39b54a;
$color-cyan: #1cbbb4;
$color-blue: #0081ff;
$color-purple: #6739b6;
$color-mauve: #9c26b0;
$color-pink: #e03997;
$color-brown: #a5673f;
$color-grey: #8799a3;
$color-black: #333333;
$color-darkGray: #666666;
$color-ghostgray: #fcfcfc;
$color-gray: #aaaaaa;
$color-ghostWhite: #f1f1f1;
$color-white: #ffffff;
/* 浅色 */
$color-redLight: #fadbd9;
$color-orangeLight: #fde6d2;
$color-yellowLight: #fef2ce;
$color-oliveLight: #e8f4d9;
$color-greenLight: #d7f0db;
$color-cyanLight: #d2f1f0;
$color-blueLight: #cce6ff;
$color-purpleLight: #e1d7f0;
$color-mauveLight: #ebd4ef;
$color-pinkLight: #f9d7ea;
$color-brownLight: #ede1d9;
$color-greyLight: #e7ebed;
/* 渐变色 */
$color-gradualRed: linear-gradient(45deg, #f43f3b, #ec008c);
$color-gradualOrange: linear-gradient(45deg, #ff9700, #ed1c24);
$color-gradualGreen: linear-gradient(45deg, #39b54a, #8dc63f);
$color-gradualPurple: linear-gradient(45deg, #9000ff, #5e00ff);
$color-gradualPink: linear-gradient(45deg, #ec008c, #6739b6);
$color-gradualBlue: linear-gradient(45deg, #0081ff, #1cbbb4);
/* 阴影透明色 */
$color-redShadow: rgba(204, 69, 59, 0.2);
$color-orangeShadow: rgba(217, 109, 26, 0.2);
$color-yellowShadow: rgba(224, 170, 7, 0.2);
$color-oliveShadow: rgba(124, 173, 55, 0.2);
$color-greenShadow: rgba(48, 156, 63, 0.2);
$color-cyanShadow: rgba(28, 187, 180, 0.2);
$color-blueShadow: rgba(0, 102, 204, 0.2);
$color-purpleShadow: rgba(88, 48, 156, 0.2);
$color-mauveShadow: rgba(133, 33, 150, 0.2);
$color-pinkShadow: rgba(199, 50, 134, 0.2);
$color-brownShadow: rgba(140, 88, 53, 0.2);
$color-greyShadow: rgba(114, 130, 138, 0.2);
$color-grayShadow: rgba(114, 130, 138, 0.2);
$color-blackShadow: rgba(26, 26, 26, 0.2);

$shadow-size: 3px 3px 4px;

/*  -- 内外边距 -- */

.margin-0 {
	margin: 0;
}

.margin-xs {
	margin: 5px;
}

.margin-sm {
	margin: 10px;
}

.margin {
	margin: 15px;
}

.margin-lg {
	margin: 20px;
}

.margin-xl {
	margin: 25px;
}

.margin-top-xs {
	margin-top: 5px;
}

.margin-top-sm {
	margin-top: 10px;
}
.margin-top {
	margin-top: 15px;
}

.margin-top-lg {
	margin-top: 20px;
}

.margin-top-xl {
	margin-top: 25px;
}

.margin-top-xxl {
	margin-top: 35px;
}

.margin-right-xs {
	margin-right: 5px;
}

.margin-right-sm {
	margin-right: 10px;
}

.margin-right {
	margin-right: 15px;
}

.margin-right-lg {
	margin-right: 20px;
}

.margin-right-xl {
	margin-right: 25px;
}

.margin-bottom-xs {
	margin-bottom: 5px;
}

.margin-bottom-sm {
	margin-bottom: 10px;
}

.margin-bottom {
	margin-bottom: 15px;
}

.margin-bottom-lg {
	margin-bottom: 20px;
}

.margin-bottom-xl {
	margin-bottom: 25px;
}

.margin-bottom-xxl {
	margin-bottom: 30px;
}

.margin-bottom-xsl {
	margin-bottom: 40px;
}

.margin-bottom-xxsl {
	margin-bottom: 50px;
}

.margin-bottom-xxssl {
	margin-bottom: 60px;
}

.margin-left-xs {
	margin-left: 5px;
}

.margin-left-sm {
	margin-left: 10px;
}

.margin-left {
	margin-left: 15px;
}

.margin-left-lg {
	margin-left: 20px;
}

.margin-left-xl {
	margin-left: 25px;
}

.margin-lr-xs {
	margin-left: 5px;
	margin-right: 5px;
}

.margin-lr-sm {
	margin-left: 10px;
	margin-right: 10px;
}

.margin-lr {
	margin-left: 15px;
	margin-right: 15px;
}

.margin-lr-lg {
	margin-left: 20px;
	margin-right: 20px;
}

.margin-lr-xl {
	margin-left: 25px;
	margin-right: 25px;
}

.margin-tb-xxs {
	margin-top: 3px;
	margin-bottom: 3px;
}

.margin-tb-xs {
	margin-top: 5px;
	margin-bottom: 5px;
}

.margin-tb-sm {
	margin-top: 10px;
	margin-bottom: 10px;
}

.margin-tb {
	margin-top: 15px;
	margin-bottom: 15px;
}

.margin-tb-lg {
	margin-top: 20px;
	margin-bottom: 20px;
}

.margin-tb-xl {
	margin-top: 25px;
	margin-bottom: 25px;
}

.padding-0 {
	padding: 0;
}

.padding-xs {
	padding: 5px;
}

.padding-sm {
	padding: 10px;
}

.padding {
	padding: 15px;
}

.padding-lg {
	padding: 20px;
}

.padding-xl {
	padding: 25px;
}

.padding-top-xs {
	padding-top: 5px;
}

.padding-top-sm {
	padding-top: 10px;
}

.padding-top {
	padding-top: 15px;
}

.padding-top-lg {
	padding-top: 20px;
}

.padding-top-xl {
	padding-top: 25px;
}

.padding-right-xs {
	padding-right: 5px;
}

.padding-right-sm {
	padding-right: 10px;
}

.padding-right {
	padding-right: 15px;
}

.padding-right-lg {
	padding-right: 20px;
}

.padding-right-xl {
	padding-right: 25px;
}

.padding-bottom-xs {
	padding-bottom: 5px;
}

.padding-bottom-sm {
	padding-bottom: 10px;
}

.padding-bottom {
	padding-bottom: 15px;
}

.padding-bottom-lg {
	padding-bottom: 20px;
}

.padding-bottom-xl {
	padding-bottom: 25px;
}

.padding-left-xs {
	padding-left: 5px;
}

.padding-left-sm {
	padding-left: 10px;
}

.padding-left {
	padding-left: 15px;
}

.padding-left-lg {
	padding-left: 20px;
}

.padding-left-xl {
	padding-left: 25px;
}

.padding-lr-xs {
	padding-left: 5px;
	padding-right: 5px;
}

.padding-lr-sm {
	padding-left: 10px;
	padding-right: 10px;
}

.padding-lr {
	padding-left: 15px;
	padding-right: 15px;
}

.padding-lr-lg {
	padding-left: 20px;
	padding-right: 20px;
}

.padding-lr-xl {
	padding-left: 25px;
	padding-right: 25px;
}

.padding-tb-xs {
	padding-top: 5px;
	padding-bottom: 5px;
}

.padding-tb-sm {
	padding-top: 10px;
	padding-bottom: 10px;
}

.padding-tb {
	padding-top: 15px;
	padding-bottom: 15px;
}

.padding-tb-lg {
	padding-top: 20px;
	padding-bottom: 20px;
}

.padding-tb-xl {
	padding-top: 25px;
	padding-bottom: 25px;
}

/* ==================
          文本
 ==================== */
.text-underline{
	 text-decoration:underline
}
.text-xxs {
	font-size: 11px;
}

.text-xs {
	font-size: 12px;
}

.text-sm {
	font-size: 13px;
}

.text-df {
	font-size: 14px;
}

.text-lg {
	font-size: 16px;
}

.text-xl {
	font-size: 18px;
}

.text-xxl {
	font-size: 20px;
}

.text-sl {
	font-size: 30px;
}

.text-xsl {
	font-size: 40px;
}

.text-Abc {
	text-transform: Capitalize;
}

.text-ABC {
	text-transform: Uppercase;
}

.text-abc {
	text-transform: Lowercase;
}

.text-price::before {
	content: "¥";
	font-size: 80%;
	margin-right: 8px;
}

.text-cut {
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
}

.text-bold {
	font-weight: bold;
}

.text-italic{
	font-style: italic
}

.text-center {
	text-align: center;
}

.text-content {
	line-height: 1.6;
}

.text-left {
	text-align: left;
}

.text-right {
	text-align: right;
}

.text-red,
.line-red,
.lines-red {
	color: $color-red;
}

.text-orange,
.line-orange,
.lines-orange {
	color: $color-orange;
}

.text-yellow,
.line-yellow,
.lines-yellow {
	color: $color-yellow;
}

.text-olive,
.line-olive,
.lines-olive {
	color: $color-olive;
}

.text-green,
.line-green,
.lines-green {
	color: $color-green;
}

.text-cyan,
.line-cyan,
.lines-cyan {
	color: $color-cyan;
}

.text-blue,
.line-blue,
.lines-blue {
	color: $color-blue;
}

.text-purple,
.line-purple,
.lines-purple {
	color: $color-purple;
}

.text-mauve,
.line-mauve,
.lines-mauve {
	color: $color-mauve;
}

.text-pink,
.line-pink,
.lines-pink {
	color: $color-pink;
}

.text-brown,
.line-brown,
.lines-brown {
	color: $color-brown;
}

.text-grey,
.line-grey,
.lines-grey {
	color: $color-grey;
}

.text-gray,
.line-gray,
.lines-gray {
	color: $color-gray;
}

.text-black,
.line-black,
.lines-black {
	color: $color-black;
}

.text-white,
.line-white,
.lines-white {
	color: $color-white;
}

/* ==================
          边框
 ==================== */

/* -- 实线 -- */

.solid,
.solid-top,
.solid-right,
.solid-bottom,
.solid-left,
.solids,
.solids-top,
.solids-right,
.solids-bottom,
.solids-left,
.dashed,
.dashed-top,
.dashed-right,
.dashed-bottom,
.dashed-left {
	position: relative;
}

.solid::after,
.solid-top::after,
.solid-right::after,
.solid-bottom::after,
.solid-left::after,
.solids::after,
.solids-top::after,
.solids-right::after,
.solids-bottom::after,
.solids-left::after,
.dashed::after,
.dashed-top::after,
.dashed-right::after,
.dashed-bottom::after,
.dashed-left::after {
	content: " ";
	width: 200%;
	height: 200%;
	position: absolute;
	top: 0;
	left: 0;
	border-radius: inherit;
	transform: scale(0.5);
	transform-origin: 0 0;
	pointer-events: none;
	box-sizing: border-box;
}

.solid::after {
	border: 1px solid rgba(0, 0, 0, 0.1);
}

.solid-top::after {
	border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.solid-right::after {
	border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.solid-bottom::after {
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.solid-left::after {
	border-left: 1px solid rgba(0, 0, 0, 0.1);
}

.solids::after {
	border: 2px solid #eee;
}

.solids-top::after {
	border-top: 2px solid #eee;
}

.solids-right::after {
	border-right: 2px solid #eee;
}

.solids-bottom::after {
	border-bottom: 2px solid #eee;
}

.solids-left::after {
	border-left: 2px solid #eee;
}

/* -- 虚线 -- */

.dashed::after {
	border: 1px dashed #ddd;
}

.dashed-top::after {
	border-top: 1px dashed #ddd;
}

.dashed-right::after {
	border-right: 1px dashed #ddd;
}

.dashed-bottom::after {
	border-bottom: 1px dashed #ddd;
}

.dashed-left::after {
	border-left: 1px dashed #ddd;
}

/* ==================
          布局
 ==================== */

/*  -- flex弹性布局 -- */

.flex {
	display: flex;
}

.inline-flex{
	display: inline-flex;
}

.basis-10 {
	flex-basis: 10%;
}

.basis-20 {
	flex-basis: 20%;
}

.basis-25 {
	flex-basis: 25%;
}

.basis-30 {
	flex-basis: 30%;
}

.basis-40 {
	flex-basis: 40%;
}

.basis-50 {
	flex-basis: 50%;
}

.basis-60 {
	flex-basis: 60%;
}

.basis-70 {
	flex-basis: 70%;
}

.basis-75 {
	flex-basis: 75%;
}

.basis-80 {
	flex-basis: 80%;
}

.basis-90 {
	flex-basis: 90%;
}

.flex-sub {
	flex: 1;
}

.flex-twice {
	flex: 2;
}

.flex-treble {
	flex: 3;
}

.flex-none {
	flex: none;
}

.flex-auto {
	flex: auto;
}

.flex-direction {
	flex-direction: column;
}

.flex-wrap {
	flex-wrap: wrap;
}

.flex-no-wrap {
	flex-wrap: nowrap;
}

.align-start {
	align-items: flex-start;
}

.align-end {
	align-items: flex-end;
}

.align-center {
	align-items: center;
}

.align-stretch {
	align-items: stretch;
}

.self-start {
	align-self: flex-start;
}

.self-center {
	align-self: flex-center;
}

.self-end {
	align-self: flex-end;
}

.self-stretch {
	align-self: stretch;
}

.align-stretch {
	align-items: stretch;
}

.justify-start {
	justify-content: flex-start;
}

.justify-end {
	justify-content: flex-end;
}

.justify-center {
	justify-content: center;
}

.justify-between {
	justify-content: space-between;
}

.justify-around {
	justify-content: space-around;
}

.flex-grow{
	flex-grow: 2;
}

/* ==================
          背景
 ==================== */

.line-red::after,
.lines-red::after {
	border-color: $color-red;
}

.line-orange::after,
.lines-orange::after {
	border-color: $color-orange;
}

.line-yellow::after,
.lines-yellow::after {
	border-color: $color-yellow;
}

.line-olive::after,
.lines-olive::after {
	border-color: $color-olive;
}

.line-green::after,
.lines-green::after {
	border-color: $color-green;
}

.line-cyan::after,
.lines-cyan::after {
	border-color: $color-cyan;
}

.line-blue::after,
.lines-blue::after {
	border-color: $color-blue;
}

.line-purple::after,
.lines-purple::after {
	border-color: $color-purple;
}

.line-mauve::after,
.lines-mauve::after {
	border-color: $color-mauve;
}

.line-pink::after,
.lines-pink::after {
	border-color: $color-pink;
}

.line-brown::after,
.lines-brown::after {
	border-color: $color-brown;
}

.line-grey::after,
.lines-grey::after {
	border-color: $color-grey;
}

.line-gray::after,
.lines-gray::after {
	border-color: $color-gray;
}

.line-black::after,
.lines-black::after {
	border-color: $color-black;
}

.line-white::after,
.lines-white::after {
	border-color: $color-white;
}

.bg-red {
	background-color: $color-red;
	color: $color-white;
}

.bg-orange {
	background-color: $color-orange;
	color: $color-white;
}

.bg-yellow {
	background-color: $color-yellow;
	color: $color-black;
}

.bg-olive {
	background-color: $color-olive;
	color: $color-white;
}

.bg-green {
	background-color: $color-green;
	color: $color-white;
}

.bg-cyan {
	background-color: $color-cyan;
	color: $color-white;
}

.bg-blue {
	background-color: $color-blue;
	color: $color-white;
}

.bg-purple {
	background-color: $color-purple;
	color: $color-white;
}

.bg-mauve {
	background-color: $color-mauve;
	color: $color-white;
}

.bg-pink {
	background-color: $color-pink;
	color: $color-white;
}

.bg-brown {
	background-color: $color-brown;
	color: $color-white;
}

.bg-grey {
	background-color: $color-grey;
	color: $color-white;
}

.bg-gray {
	background-color: #f0f0f0;
	color: $color-black;
}

.bg-black {
	background-color: $color-black;
	color: $color-white;
}

.bg-white {
	background-color: $color-white;
	color: $color-darkGray;
}

.bg-shadeTop {
	background-image: linear-gradient(rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.01));
	color: $color-white;
}

.bg-shadeBottom {
	background-image: linear-gradient(rgba(0, 0, 0, 0.01), rgba(0, 0, 0, 1));
	color: $color-white;
}

.bg-red.light {
	color: $color-red;
	background-color: $color-redLight;
}

.bg-orange.light {
	color: $color-orange;
	background-color: $color-orangeLight;
}

.bg-yellow.light {
	color: $color-yellow;
	background-color: $color-yellowLight;
}

.bg-olive.light {
	color: $color-olive;
	background-color: $color-oliveLight;
}

.bg-green.light {
	color: $color-green;
	background-color: $color-greenLight;
}

.bg-cyan.light {
	color: $color-cyan;
	background-color: $color-cyanLight;
}

.bg-blue.light {
	color: $color-blue;
	background-color: $color-blueLight;
}

.bg-purple.light {
	color: $color-purple;
	background-color: $color-purpleLight;
}

.bg-mauve.light {
	color: $color-mauve;
	background-color: $color-mauveLight;
}

.bg-pink.light {
	color: $color-pink;
	background-color: $color-pinkLight;
}

.bg-brown.light {
	color: $color-brown;
	background-color: $color-brownLight;
}

.bg-grey.light {
	color: $color-grey;
	background-color: $color-greyLight;
}

.bg-ghostWhite {
	background-color: $color-ghostWhite
}

.bg-ghostgray {
	background-color: $color-ghostgray
}

.bg-gradual-red {
	background-image: $color-gradualRed;
	color: $color-white;
}

.bg-gradual-orange {
	background-image: $color-gradualOrange;
	color: $color-white;
}

.bg-gradual-green {
	background-image: $color-gradualGreen;
	color: $color-white;
}

.bg-gradual-purple {
	background-image: $color-gradualPurple;
	color: $color-white;
}

.bg-gradual-pink {
	background-image: $color-gradualPink;
	color: $color-white;
}

.bg-gradual-blue {
	background-image: $color-gradualBlue;
	color: $color-white;
}

.shadow[class*="-red"] {
	box-shadow: $shadow-size $color-redShadow;
}

.shadow[class*="-orange"] {
	box-shadow: $shadow-size $color-orangeShadow;
}

.shadow[class*="-yellow"] {
	box-shadow: $shadow-size $color-yellowShadow;
}

.shadow[class*="-olive"] {
	box-shadow: $shadow-size $color-oliveShadow;
}

.shadow[class*="-green"] {
	box-shadow: $shadow-size $color-greenShadow;
}

.shadow[class*="-cyan"] {
	box-shadow: $shadow-size $color-cyanShadow;
}

.shadow[class*="-blue"] {
	box-shadow: $shadow-size $color-blueShadow;
}

.shadow[class*="-purple"] {
	box-shadow: $shadow-size $color-purpleShadow;
}

.shadow[class*="-mauve"] {
	box-shadow: $shadow-size $color-mauveShadow;
}

.shadow[class*="-pink"] {
	box-shadow: $shadow-size $color-pinkShadow;
}

.shadow[class*="-brown"] {
	box-shadow: $shadow-size $color-brownShadow;
}

.shadow[class*="-grey"] {
	box-shadow: $shadow-size $color-greyShadow;
}

.shadow[class*="-gray"] {
	box-shadow: $shadow-size $color-grayShadow;
}

.shadow[class*="-black"] {
	box-shadow: $shadow-size $color-blackShadow;
}

.shadow[class*="-white"] {
	box-shadow: $shadow-size $color-blackShadow;
}

.text-shadow[class*="-red"] {
	text-shadow: $shadow-size $color-redShadow;
}

.text-shadow[class*="-orange"] {
	text-shadow: $shadow-size $color-orangeShadow;
}

.text-shadow[class*="-yellow"] {
	text-shadow: $shadow-size $color-yellowShadow;
}

.text-shadow[class*="-olive"] {
	text-shadow: $shadow-size $color-oliveShadow;
}

.text-shadow[class*="-green"] {
	text-shadow: $shadow-size $color-greenShadow;
}

.text-shadow[class*="-cyan"] {
	text-shadow: $shadow-size $color-cyanShadow;
}

.text-shadow[class*="-blue"] {
	text-shadow: $shadow-size $color-blueShadow;
}

.text-shadow[class*="-purple"] {
	text-shadow: $shadow-size $color-purpleShadow;
}

.text-shadow[class*="-mauve"] {
	text-shadow: $shadow-size $color-mauveShadow;
}

.text-shadow[class*="-pink"] {
	text-shadow: $shadow-size $color-pinkShadow;
}

.text-shadow[class*="-brown"] {
	text-shadow: $shadow-size $color-brownShadow;
}

.text-shadow[class*="-grey"] {
	text-shadow: $shadow-size $color-greyShadow;
}

.text-shadow[class*="-gray"] {
	text-shadow: $shadow-size $color-grayShadow;
}

.text-shadow[class*="-black"] {
	text-shadow: $shadow-size $color-blackShadow;
}
/*
 去除type是number的input的箭头
 */
//谷歌
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

//火狐
input[type="number"]{
  -moz-appearance: textfield;
}
